package com.example.android;

import java.util.logging.LogManager;

import android.app.Activity;
import android.os.Bundle;
import android.util.Log;

public class Exemplo5 extends Activity {
	
	private static final String CATEGORIA ="fvs";
	public void onCreate(Bundle b) {
		super.onCreate(b);
		try {
			setContentView(R.layout.activity_main);
			Log.d(CATEGORIA, "Debug");
			Log.v(CATEGORIA, "log de verborse");
			Log.d(CATEGORIA, "log de debug");
			Log.i(CATEGORIA, "log de info");
			Log.w(CATEGORIA, "log de warning");
			Log.e(CATEGORIA, "log de erro");
		}
		catch(RuntimeException e) {
			Log.i(CATEGORIA, "Log teste", e);
			e.getCause();
			e.getMessage();
		}
	}
}
